//
//  Volkswagen.h
//  Chapter3
//
//  Created by 郭家正 on 2019/1/10.
//  Copyright © 2019 TM. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Volkswagen : NSObject

@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *color;
@property (nonatomic, strong) NSString *enginePower;
@property (nonatomic, assign) CGFloat price;

-(void)drive;
-(void)stop;
-(void)back;

-(id)initWithName:(NSString *)name
            color:(NSString *)color
           engine:(NSString *)engine
            price:(CGFloat)price;

@end

NS_ASSUME_NONNULL_END
